package com.google.code.bexxgameoflife.model.data;

public class Cell {
	
	private boolean alive = false;

	public Cell(boolean alive) {
		this.alive = alive;
	}

	public Cell() {
		
	}

	public boolean isDead() {
		return !isAlive();
	}

	public boolean isAlive() {
		return alive;
	}

	public void die() {
		alive = false;
	}

	public void wake() {
		alive = true;
	}

}
